import java.util.ArrayList;
import java.util.List;

public class Test {
    public static void main(String[] args) {
        CardDemo cardDemo=new CardDemo();
        List<Card> list=cardDemo.buyCard();
        System.out.println(list);
        cardDemo.shuffle(list);
        cardDemo.getCard(list);

    }
}
